﻿namespace ICMRemoteEdu
{
    using System;
    using System.Globalization;
    using System.Threading;
    using System.Windows.Forms;

    internal static class Program
    {
        [STAThread]
        private static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Thread.CurrentThread.CurrentUICulture = new CultureInfo("ru-RU", false);
            bool adminMode = false;
            if (args.Length > 0)
            {
                adminMode = args[0] == "-admin";
            }
            Application.Run(new ICMCourseForm(adminMode));
        }
    }
}

